package unit5.collection.myQueue;

public class MyQueueTest {
    public static void main(String[] args) {
        MyQueue queue=new MyQueue();
        queue.put("1");
        queue.put("2");
        queue.put("3");

        System.out.println("大小："+queue.dx());

        System.out.println("输出："+queue.get());
        System.out.println("输出："+queue.get());
        System.out.println("输出："+queue.get());

        System.out.println("大小："+queue.dx());

        System.out.println("判断为空："+queue.empty());
    }
}
